<?php
/**
 * Created by PhpStorm.
 * User: jiangxiaobo
 * Date: 2019/11/11 0011
 * Time: 19:49
 */
namespace routes;

use bootstrap\lib\traits\Singleton;

class Web extends Base
{
    use Singleton;

    protected function getRoutes()
    {
        return [
            '^\/$' => '\app\http\controllers\Index->index',
            '\/aaa' => '\app\http\controllers\Index->aaa',
        ];
    }
    protected function getDefaultController()
    {
        return 'app\http\controllers\Index';
    }
    protected function getSplitString()
    {
        // ?c=index-Index
        return '-';
    }
}